using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SmartLink.EnumLibrary
{
    public class ParkingEnum
    {
        /// <summary>
        /// 是否接受预约
        /// </summary>
        public enum AppointmentEnum
        {
            [Description("不可预约")]
            不可预约 = 0,
            [Description("可预约")]
            可预约 = 1
        }

        /// <summary>
        /// 车位锁状态
        /// </summary>
        public enum ParkingLockStatusEnum
        {
            [Description("未使用")]
            未锁定 = 1,
            [Description("使用中")]
            使用中 = 2,
            [Description("故障")]   //转化为车位的 故障
            故障 = 3,
            [Description("离线")]   //转化为车位的 故障
            离线 = 4,
        }


        /// <summary>
        /// 车位的状态(未绑定,故障,使用中,被预定,空闲)
        /// </summary>
        public enum ParkingSpaceStatusEnum
        {
            [Description("未绑定")]
            未绑定 = 1,
            [Description("空闲")]
            空闲 = 2,
            [Description("被预定")]
            被预定 = 3,
            [Description("使用中")]
            使用中 = 4,
            [Description("故障")]
            故障 = 5,
        }

        /// <summary>
        /// 车场状态设置
        /// </summary>
        public enum ParkingStatusTypeEnum
        {
            可预约=1,
            启用=2
        }


        /// <summary>
        /// 停车场缴费方式
        /// </summary>
        public enum ChargeTypeEnum
        {
            [Description("线上缴费")]
            线上缴费 = 1,
            [Description("现金缴费")]
            现金缴费 = 2,
        }
    }
}
